home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
web
/
noweb
/
contrib
/
kostas
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-02-24
|
2KB
|
65 lines
LIB=/dev/null # to be overridden by install
SHELL=/bin/sh
IFILTER=$(LIB)/icon.filter
ICONC=icont # can be overridden by install
.SUFFIXES: .nw .icn
.nw.icn: ; notangle -L'#line %-1L "%F"%N' $*.nw | cpif $*.icn
FILTERS=icon.filter oot.filter math.filter txl.filter
AUTODEFS=autodefs.oot autodefs.math autodefs.txl
all: $(FILTERS) $(AUTODEFS)
source: inw.icn tnw.icn mnw.icn txlnw.icn ootdefs.icn mathdefs.icn txldefs.icn
install: $(FILTERS) $(AUTODEFS)
cp $(FILTERS) $(AUTODEFS) $(LIB)
# Icon files.
inw.icn: inw.nw icontrans.nw lipp.nw
notangle -L'#line %-1L "%F"%N' inw.nw lipp.nw icontrans.nw > inw.icn
tnw.icn: tnw.nw oottrans.nw lipp.nw
notangle -L'#line %-1L "%F"%N' tnw.nw lipp.nw oottrans.nw > tnw.icn
mnw.icn: mnw.nw mathtrans.nw lipp.nw
notangle -L'#line %-1L "%F"%N' mnw.nw lipp.nw mathtrans.nw > mnw.icn
txlnw.icn: txlnw.nw txltrans.nw lipp.nw
notangle -L'#line %-1L "%F"%N' txlnw.nw lipp.nw txltrans.nw > txlnw.icn
ootdefs.icn: ootdefs.nw defns.nw
notangle -L'#line %-1L "%F"%N' $*.nw defns.nw | cpif $*.icn
mathdefs.icn: mathdefs.nw defns.nw
notangle -L'#line %-1L "%F"%N' $*.nw defns.nw | cpif $*.icn
txldefs.icn: txldefs.nw defns.nw
notangle -L'#line %-1L "%F"%N' $*.nw defns.nw | cpif $*.icn
# Executables.
icon.filter: inw.icn
-icont -o icon.filter inw.icn
oot.filter: tnw.icn
-icont -o oot.filter tnw.icn
math.filter: mnw.icn
-icont -o math.filter mnw.icn
txl.filter: txlnw.icn
-icont -o txl.filter txlnw.icn
autodefs.oot: ootdefs.icn
$(ICONC) -o autodefs.oot ootdefs.icn
autodefs.math: mathdefs.icn
$(ICONC) -o autodefs.math mathdefs.icn
autodefs.txl: txldefs.icn
$(ICONC) -o autodefs.txl txldefs.icn
# TeX files.
inw.tex: inw.nw lipp.nw
noweave -delay -autodefs icon -index -filter $(IFILTER) inw.nw lipp.nw > inw.tex
tnw.tex: tnw.nw lipp.nw
noweave -delay -autodefs icon -index -filter $(IFILTER) tnw.nw lipp.nw > tnw.tex
mnw.tex: mnw.nw lipp.nw
noweave -delay -autodefs icon -index -filter $(IFILTER) mnw.nw lipp.nw > mnw.tex
txlnw.tex: txlnw.nw lipp.nw
noweave -delay -autodefs icon -index -filter $(IFILTER) txlnw.nw lipp.nw > txlnw.tex
ootdefs.tex: ootdefs.nw
noweave -autodefs icon -index -filter $(IFILTER) ootdefs.nw > ootdefs.tex
txldefs.tex: txldefs.nw
noweave -autodefs icon -index -filter $(IFILTER) txldefs.nw > txldefs.tex
clean:
/bin/rm -f *.tex *.dvi *.aux *.log *.blg *.bbl *~ *.icn *.filter autodefs.*